package com.iedu.bigdata.scala.chapter01

object shizi {
  def main(args: Array[String]): Unit = {
    var sum=0
    for(i<-0 to 6){
      val j = 6 - i
      var sum=i+j
      println(s"$i + $j = $sum ")
    }
  }
}